$OpenBSD: patch-Imakefile,v 1.2 2015/12/07 18:00:42 jasper Exp $
--- Imakefile.orig	Fri May  5 02:34:29 2000
+++ Imakefile	Mon Dec  7 18:54:24 2015
@@ -10,14 +10,18 @@ DEFINES = -Dlinux_libc6
 LOCAL_LIBRARIES = $(XLIB) -lm 
 #endif
 
-#if defined (FreeBSDArchitecture) || defined (OpenBSDArchitecture)
+#if defined (FreeBSDArchitecture)
 LOCAL_LIBRARIES = $(XLIB) -lm -lkvm
 INSTPGMFLAGS = -s -g kmem -m 2755 
 #endif
 
+#if defined (OpenBSDArchitecture)
+LOCAL_LIBRARIES = $(XLIB) -lm
+#endif
+
 LINTLIBS = $(LINTXLIB)
 
-#if defined (FreeBSDArchitecture) || defined (OpenBSDArchitecture)
+#if defined (FreeBSDArchitecture)
 SRCS = wmnet.c drivers.c getopt.c getopt1.c
 OBJS = wmnet.o drivers.o getopt.o getopt1.o
 #else
